package com.springboot.ssm.entity;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@Data
public class Cat {

    @Value("${Cat.id}")
    private Integer id;

    @Value("#{11 * 2}")
    private Integer age;

    @Value("true")
    private Boolean gender;

}
